package com.hou.houlymall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 2级分类vo
 * @author H
 * @create 2021-08-06 20:06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Catelog2Vo {
    /**
     * //1级父分类id
     */
    private String catalog1Id;

    /**
     * 3级子分类
     */
    private List<Object> catalog3List;

    private String id;

    private String name;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Catelog3Vo{
        /**
         * 父分类，2及分类id
         */
        private String catalog2Id;

        private String id;

        private String name;
    }
}
